package com.isoft.student.domain;

import com.ruoyi.common.annotation.Sensitive;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 学生管理对象 student
 * 
 * @author lgm
 * @date 2024-07-17
 */
public class Student extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long id;

    /** 学生姓名 */
    @Excel(name = "学生姓名")
    private String name;

    /** 学生班级 */
    @Excel(name = "学生班级")
    private String classes;

    /** 学生年级 */
    @Excel(name = "学生年级")
    private String grad;

    /** 密码 */
    @Excel(name = "密码")
    private String password;

    /** 地址 */
    @Excel(name = "地址")
    private String address;

    /** 手机号 */
    @Excel(name = "手机号")
    private String phone;

    /** 是否停用 */
    @Excel(name = "是否停用")
    private Long isDelete;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setClasses(String classes) 
    {
        this.classes = classes;
    }

    public String getClasses() 
    {
        return classes;
    }
    public void setGrad(String grad) 
    {
        this.grad = grad;
    }

    public String getGrad() 
    {
        return grad;
    }
    public void setPassword(String password) 
    {
        this.password = password;
    }

    public String getPassword() 
    {
        return password;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setIsDelete(Long isDelete) 
    {
        this.isDelete = isDelete;
    }

    public Long getIsDelete() 
    {
        return isDelete;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("classes", getClasses())
            .append("grad", getGrad())
            .append("password", getPassword())
            .append("address", getAddress())
            .append("phone", getPhone())
            .append("isDelete", getIsDelete())
            .toString();
    }
}
